<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    .box {
      width: 100px;
      height: 100px;
      background-color: pink;
    }
  </style>
  <body>
    <div class="box"></div>
    <!-- <script src="./01一些函数的this分析.js"></script> -->
    <!-- <script src="./02优先级new高于隐式绑定.js"></script> -->
    <!-- <script src="./03显示和new优先级.js"></script> -->
    <!-- <script src="./04特殊绑定-忽略显示绑定.js"></script> -->
    <!-- <script src="./05特殊绑定-间接函数引用.js"></script> -->
    <!-- <script src="./06特殊绑定-箭头函数引用.js"></script> -->
    <script src="./07this面试题1.js"></script>
    <script>
      const box = document.querySelector(".box");
      box.onclick = function () {
        console.log(this);
      };
    </script>
  </body>
</html>
